Docs
delete https://api.affiliates.iugu.com/campaigns/{id}

Exclui uma campanha

Sem ações implementadas definidas

Request

Path variables

id

Required

Type: string

ID da campanha

Ex: 58HKqRy8w2iHoKT91HCIeI

Headers

workspace_id

Required

Type: string

Identificador do workspace

Ex: 4fHECmQtLdROI4fDLWMiLd

Response

200

OK

message
String

Mensagem de sucesso ao excluir campanha

Ex: Campaign deleted successfully.

Example
1
2
3
{
  "message": "Campaign deleted successfully."
}

401

Unauthorized

status
String

Ex: 401

title
String

Ex: JWT VALIDATION ERROR

detail
String

Ex: Signature has expired

Example
1
2
3
4
5
{
  "status": "401",
  "title": "JWT VALIDATION ERROR",
  "detail": "Signature has expired"
}

404

Not Found

message
String

Ex: Registro não encontrado.

Example
1
2
3
{
  "message": "Registro não encontrado."
}

500

Internal Server Error

status
String

Ex: 500

title
String

Ex: Internal Server Error

detail
String

Ex: Internal Error, try again later

Example
1
2
3
4
5
{
  "status": "500",
  "title": "Internal Server Error",
  "detail": "Internal Error, try again later"
}